package com.wisco.web.demo.model;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import com.wisco.plarform.entity.BaseEntity;
@Entity
@Table(name = "t_user")
public class User extends BaseEntity {
	private static final long serialVersionUID = 3825764002000244343L;
	private long   userid; 		  // 用户id
	private String username; 	  // 用户名称
	private String password;	  // 密码
	private String phone; 		  // 电话
	private String qq;			  // QQ
	private String alipay;		  // 支付宝
	private String totalscore;    // 任务总赚学币
	private String exchangedscore;// 已兑换学币
	private String unexchangScore;// 可兑换学币
	private String taskcount;     // 任务次数
	private String exchangcount;  // 兑换次数
	private String invitecount;   // 邀请次数
	private String havescore;     // 已获分成
	private String createtime;	  // 注册时间
	@Id
	public long getUserid() {
		return userid;
	}
	public void setUserid(long userid) {
		this.userid = userid;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getTotalscore() {
		return totalscore;
	}
	public void setTotalscore(String totalscore) {
		this.totalscore = totalscore;
	}
	public String getExchangedscore() {
		return exchangedscore;
	}
	public void setExchangedscore(String exchangedscore) {
		this.exchangedscore = exchangedscore;
	}
	public String getUnexchangScore() {
		return unexchangScore;
	}
	public void setUnexchangScore(String unexchangScore) {
		this.unexchangScore = unexchangScore;
	}
	public String getTaskcount() {
		return taskcount;
	}
	public void setTaskcount(String taskcount) {
		this.taskcount = taskcount;
	}
	public String getExchangcount() {
		return exchangcount;
	}
	public void setExchangcount(String exchangcount) {
		this.exchangcount = exchangcount;
	}
	public String getInvitecount() {
		return invitecount;
	}
	public void setInvitecount(String invitecount) {
		this.invitecount = invitecount;
	}
	public String getHavescore() {
		return havescore;
	}
	public void setHavescore(String havescore) {
		this.havescore = havescore;
	}
	
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getAlipay() {
		return alipay;
	}

	public void setAlipay(String alipay) {
		this.alipay = alipay;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
